package com.digitalbuana.smiles.activity;

import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.FrameLayout;

import com.digitalbuana.smiles.R;
import com.digitalbuana.smiles.ui.helper.ManagedActivity;
import com.digitalbuana.smiles.utils.FontUtils;

public class NotificationActivity extends ManagedActivity
implements
OnClickListener
{

	private FrameLayout btnBack;
	
	
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		
		setContentView(R.layout.activity_notification);
		
		rootView = (FrameLayout)findViewById(R.id.notificationRootView);
		btnBack = (FrameLayout)findViewById(R.id.notificationbtnBack);
		
		btnBack.setOnClickListener(this);
		
		FontUtils.setRobotoFont(context, rootView);
	}
	
	public static Intent createIntent(Context context) {
		return new Intent(context, NotificationActivity.class);
	}
	
	@Override
	public void onClick(View v) {
		if(v==btnBack){
			finish();
		}
	}
}
